<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<jsp:include page="../fragments/header.jsp">
	<jsp:param name="title" value="${title}" />
</jsp:include>

<c:forEach var="product" items="${products}">
	<div class="product_overview_box">
		<div class="product_image">
			<a href="/bookstore/product_details?id=${product.id}">
				<img src="/bookstore/product_image?id=${product.id}" alt="" title="" border="0" />
			</a>
		</div>

		<div class="product_box">
			<div class="box_top"></div>
			<div class="box_center">
				<div class="product_title">${product.name}</div>
				<p class="details">${product.description}</p>
				<a href="product_details?id=${product.id}" class="more">more details</a>
				<div class="clear"></div>
			</div>
			<div class="box_bottom"></div>
		</div>
		<div class="clear"></div>
	</div>
</c:forEach>

<jsp:include page="../fragments/footer.jsp" />